﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ninject.Modules;
using System.Web.Mvc;

namespace Lib.Web.Mvc.Ninject
{
    public class MvcModule : NinjectModule
    {
        /// <summary>
        /// Loads the module into the kernel.
        /// </summary>
        public override void Load()
        {
            this.Kernel.Bind<IModelBinderProvider>().To<NinjectModelBinderProvider>();
        }
    }
}
